label: Fix mnemonic handling
authorMatthias Clasen <mclasen@redhat.com>
Tue, 15 Jun 2021 17:06:10 +0000 (13:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 15 Jun 2021 17:06:10 +0000 (13:06 -0400)
commitc4a2234a28456fda5034bbaa155a1f8f76a6bebc
treef84f5736943800d6654bed6de86664e7d9a55311
parenta3882763d8b0f9548da1e9dfaa1dff9473e617d0
label: Fix mnemonic handling

We were not handling the case right in which we
want to use underlines, but not use markup. Since
we are now using pango_parse_markup for this case,
we need to escape the xml markup.

Fixes: #4041
gtk/gtklabel.c